package com.slj.service;

import com.slj.entity.Student;
import java.util.List;

public interface StudentService {
    Student createStudent(Student student);

    Student updateStudent(Student student);

    void deleteStudent(Integer studentId);

    Student getStudentById(Integer studentId);

    List<Student> getStudentsByClassId(Integer classId);

    List<Student> getAllStudents();
    public List<Student> searchStudents(String name, Integer classId);
}